(function(){"use strict";BX.namespace("BX.Landing.MediaPlayer");const e=BX.Landing.Utils.getQueryParams;const s=BX.Landing.Utils.isFunction;BX.Landing.MediaPlayer.BasePlayer=function(t,r){this.iframe=t;this.parameters=e(t.src);Object.assign(this.parameters,r);Object.keys(this.parameters).forEach((function(e){if(!isNaN(parseFloat(this.parameters[e]))){this.parameters[e]=parseFloat(this.parameters[e])}}),this);this.onPlayerReady=s(r.onPlayerReadyHandler)?r.onPlayerReadyHandler:()=>{}};BX.Landing.MediaPlayer.BasePlayer.prototype={play:function(){throw new Error("Must be implemented by subclass")},pause:function(){throw new Error("Must be implemented by subclass")},stop:function(){throw new Error("Must be implemented by subclass")},setLoop:function(e){throw new Error("Must be implemented by subclass")},seekTo:function(e){throw new Error("Must be implemented by subclass")},mute:function(){throw new Error("Must be implemented by subclass")},unMute:function(){throw new Error("Must be implemented by subclass")}}})();
//# sourceMappingURL=base_mediaplayer.map.js